<div class="bjui-pageHeader">
    <div class="pull-right">
        <button class="btn-default" data-icon="plus" title="新增导航" data-toggle="tooltip" data-placement="left" onclick="createDialog('{:U("Forms/nav")}', '新增导航', 'nav', {width:700,height:450})"></button>
        <button class="btn-default" data-icon="refresh" onclick="$.CurrentNavtab.navtab('refresh')"></button>
    </div>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
        <thead>
            <tr>
                <th width="60px">权重</th>
                <th>导航名称</th>
                <th>连接地址</th>
                <th>新窗口</th>
                <th>状态</th>
                <th width="120px">操作</th>
            </tr>
        </thead>
        <tbody>
        <volist name="list" id="vo">
        <tr class="groy{$vo.leve}">
            <td>{$vo.sort}</td>
            <if condition="$vo.leve eq '1'"><td><span class="groys"><button class="btn-green btn-xs" data-icon="minus"></button> {$vo.name}</span></td>
            <else/>
            <td style="padding-left: 8em;"><span class="groys"> {$vo.name}</span></td>
            </if>
            <td>{$vo.url}</td>
            <if condition="$vo.is_blank eq '1'">
            <td><a href="{:U('Forms/update_nav_blank',array('id'=>$vo['id']))}" data-type="get" data-toggle="doajax" data-confirm-msg="要更改打开的方式吗?">是</a></td>
            <else/>
            <td><a href="{:U('Forms/update_nav_blank',array('id'=>$vo['id']))}" data-type="get" data-toggle="doajax" data-confirm-msg="要更改打开的方式吗?">否</a></td>
            </if>
            <if condition="$vo.status eq '0'">
            <td><a href="{:U('Forms/update_nav_status',array('id'=>$vo['id']))}" data-type="get" data-toggle="doajax" data-confirm-msg="确定要<strong class='text-danger'>不显示</strong>这个导航栏?">显示</a></td>
            <else/>
            <td><a href="{:U('Forms/update_nav_status',array('id'=>$vo['id']))}" data-type="get" data-toggle="doajax" data-confirm-msg="确定要<strong class='text-danger'>显示</strong>这个导航栏?">不显示</a></td>
            </if>
            <td>
                <button type="button" class="btn-blue" onclick="createDialog('{:U("Forms/nav",array("id"=>$vo["id"]))}', '编辑导航栏', 'nav', {width:600, height:450})">改</button>
                <a href="{:U('Forms/del_nav',array('id'=>$vo['id']))}" data-type="get" class="btn btn-red" data-toggle="doajax" data-confirm-msg="要删除这个分类?">删</a>
            </td>
        </tr>
        </volist>
        <!-- <tr class="groy2">
            <td>1</td>
            <td style="padding-left: 8em;"><span class="groys"> 手机配件</span></td>
            <td>手机配件</td>
            <td>是</td>
            <td>显示</td>
            <td>
                <button type="button" class="btn-blue" onclick="createDialog('{:U("Forms/groy")}', '新增分类', 'groy', {width:600, height:450})">改</button>
                <a href="{:U('Index/save')}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="要删除这个分类?">删</a>
            </td>
        </tr>
        <tr>
            <td>100</td>
            <td>团购</td>
            <td>/index.php/index/index/home</td>
            <td><a href="{:U('Index/save')}" data-toggle="doajax" data-confirm-msg="要更改打开的方式吗??" >是</a></td>
            <td><a href="{:U('Index/save')}" data-toggle="doajax" data-confirm-msg="要<strong class='text-danger'>隐藏</strong>这个导航吗?" >显示</a></td>
            <td>
                <a href="https://coding.net/u/qp_/p/Market/git" target="_blank" class="btn btn-blue">看</a>
                <button type="button" class="btn-green" onclick="createDialog('{:U("Forms/nav")}', '修改导航', 'nav', {width:700,height:450})">改</button>
                <a href="{:U('Index/save')}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要<strong clas='text-danger'>删除</strong>这个导航?">删</a>
            </td>
        </tr>
        <tr>
            <td>99</td>
            <td>欢乐购</td>
            <td>/index.php/index/index/home</td>
            <td><a href="{:U('Index/save')}" data-toggle="doajax" data-confirm-msg="要更改打开的方式吗??" >否</a></td>
            <td><a href="{:U('Index/save')}" data-toggle="doajax" data-confirm-msg="要<strong class='text-danger'>显示</strong>这个导航吗?" >不显示</a></td>
            <td>
                <a href="https://coding.net/u/qp_/p/Market/git" target="_blank" class="btn btn-blue">看</a>
                <button type="button" class="btn-green" onclick="createDialog('{:U("Forms/nav")}', '修改导航', 'nav', {width:700,height:450})">改</button>
                <a href="{:U('Index/save')}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要<strong clas='text-danger'>删除</strong>这个导航?">删</a>
            </td>
        </tr> -->
        </tbody>
    </table>
</div>
<include file="Common/footer" ftype="page" />